package com.info.zhiduoduo.admin.model.formbean.company;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author tianyonghong
 * @create 2022/2/22
 */
@Data
public class CompanyGrouponBalanceFormBean {

    @ApiModelProperty("企业ID")
    @NotNull(message = "企业不能为空")
    private int compid;

    @ApiModelProperty("转账金额")
    @NotNull(message = "转账金额不能为空")
    private BigDecimal transferAmount;

    @ApiModelProperty("转出：企业支付方式ID")
    @NotNull(message = "企业支付方式ID不可为空")
    private Integer fromCompPayId;

    @ApiModelProperty("转入：企业支付方式ID")
    @NotNull(message = "企业支付方式ID不可为空")
    private Integer toCompPayId;

}
